// func 多个返回值
package main

import "fmt"

func main() {
	x := 3
	y := 4

	x1, y1 := SumAndProduct(x, y)

	fmt.Printf("%d + %d = %d\n", x, y, x1)
	fmt.Printf("%d * %d = %d\n", x, y, y1)
}

func SumAndProduct(A, B int) (a int, b int) {
	return A + B, A * B
}